package com.goldgov.com.web.json;

import java.util.*;

public class GetUserRespones {
	
	/**
	 * 用户姓名
	 */
	private String userName;
	/**
	 * 用户年龄
	 */
	private Integer age;
	/**
	 * 地址
	 */
	private Object address;


	public void setUserName(String userName){
		this.userName = userName;
	}
	
	public String getUserName(){
			if(userName == null){
				throw new RuntimeException("userName不能为null");
			}
		return userName;
	}

	public void setAge(Integer age){
		this.age = age;
	}
	
	public Integer getAge(){
			if(age == null){
				throw new RuntimeException("age不能为null");
			}
		return age;
	}

	public void setAddress(Object address){
		this.address = address;
	}
	
	public Object getAddress(){
		return address;
	}
}